<template>
  <div class="">
    <h1>GrandPa</h1>
    <hr />
    <Son />
  </div>
</template>

<script setup>
import { ref, provide } from 'vue'
import Son from './13-Son.vue'
const money = ref(1000000000)

const fn = val => {
  console.log('---grandpa---', val)
}

provide('money', money)
provide('fn', fn)
</script>

<style scoped></style>
